/*
 * @Autor: dingxiaolin
 * @Date: 2020-03-27 21:47:21
 * @LastEditors: dingxiaolin
 * @LastEditTime: 2020-04-04 11:20:59
 */
import Vue from "vue";
import "@/style/index.scss"; // global css
import App from "./App.vue";
import router from "./router";
import ElementUI from "element-ui";
import store from "./vuex/index";
import VueClipboard from "vue-clipboard2";
Vue.use(VueClipboard);

Vue.config.productionTip = false;

import { waves } from "@/directive/waves/index"; // 水波纹指令
Vue.directive("waves", waves);

Vue.use(ElementUI, {
  size: "small",
});

/* 图片预览组件 */
import preview from "vue-photo-preview";
Vue.use(preview);
new Vue({
  el: "#app",
  router,
  store,
  render: (h) => h(App),
});
